<template>
	<div class="pictureshow image-block">
		<div class="sd-image">
			<el-image :src="STATIC_URL + datas.src" v-if="datas.src != ''" fit="cover" class="cover-image" />

			<el-image v-else :src="img"></el-image>
		</div>
		<slot name="deles" />
	</div>
</template>

<script setup lang="ts" name="pictureshow">
import { ref } from 'vue';
import { STATIC_URL } from '/@/utils/config';
import img from '/@/assets/decoration/images/imgs.png';
const props = defineProps({
	datas: {},
});
</script>

<style scoped>
.pictureshow {
	position: relative;
	min-height: 30px;
}

.image-block .sd-image {
	height: 100%;
}
</style>
